package dal.object;

import gui.GameConstants;

import java.awt.Point;

public abstract class Ground extends MapObject {
	protected static final String path = "pic/Talajok/";
	protected Point origo;
	
	public abstract int getFrictionCoefficient();
	public abstract double getManoeuvrability();
	
	public void setLocation(Point loc){
		super.setLocation(loc);
		this.origo = new Point(location.x + GameConstants.picWidth50, location.y + GameConstants.picHeight50);
	}
	
	/**
	 * @return
	 * 	the object's center
	 */
	public Point gtOrigo(){
		return this.origo;
	}
}